package com.shunli.cterminal.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.shunli.cterminal.model.bo.PromotionConfigBO;
import com.shunli.cterminal.model.res.CompanyInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: PromotionConfigMapper
 * @description: TODO
 * @author: DAIYALU
 * @date: 2025/4/24
 * @version: 1.0
 */
@DS("adEngine")
public interface PromotionConfigMapper {

    List<PromotionConfigBO> queryPromotionConfigList(@Param("skuId") String skuId, @Param("domain") String domain, @Param("promotionCode") String promotionCode);

    CompanyInfo queryCompanyInfoByDomain(@Param("domain") String domain);
}
